<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML>
<html>
<head>
<title>客户登陆</title>
<style type="text/css">
#topnav a {
	color: #0000ca;
	text-decoration: underline;
}

#topnav a:hover {
	color: #f00;
}

#topnav_hidlist {
	position: absolute;
	text-align: left;
	z-index: 1009px;
	background: #fff;
	border: solid 1px #ccc;
	border-top: none;
	top: 20px;
	line-height: 180%;
	padding: 4px;
}

* html #topnav_hidlist {
	width: 70px;
}

#topnav .topnav_left a {
	margin: 0px 2px;
}

#topnav .topnav_right a {
	color: #333;
	margin: 0px 6px;
	text-decoration: none;
}

#topnav .topnav_right a:hover {
	text-decoration: underline;
}

#topnav .topnav_right em {
	font-family: Arial;
	color: Red;
	font-style: normal;
	font-weight: bold;
	padding: 0px 10px;
}

#topnav a.red {
	color: Red;
}
</style>

<style type="text/css">
body {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
}

#container {
	margin: 0 auto;
	width: 850px;
	height: 100px;
}
</style>
<script type="text/javascript">
	function check(form) {
		var name = form.name.value;
		var cellphone = form.cellphone.value;
		var span = document.getElementById("s1");
		if (name == "" || name == "报名时您填写的姓名") {
			span.innerHTML = "请输入姓名或手机号";
			return false;
		}
		if (cellphone == "" || cellphone == "报名时您填写的手机号") {
			span.innerHTML = "请输入姓名或手机号";
			return false;
		}
		return true;
	}
	function formSubmit() {
		var form = document.forms[0];
		form.submit();
	}
</script>
</head>
<body>
	<div id="topnav"
		style="height:16px; padding:2px 4px; background-color:#fff; border-bottom:solid 1px #ccc;">
		<div class="topnav_left" style="float:left;">
			<a href="../www.csdn.net/default.htm" target="_blank">CSDN首页</a> <a
				href="../news.csdn.net/default.htm" target="_blank">资讯</a> <a
				href="../bbs.csdn.net/default.htm" target="_blank">论坛</a> <a
				href="../blog.csdn.net/default.htm" target="_blank">博客</a> <a
				href="../download.csdn.net/default.htm" target="_blank">下载</a> <a
				href="../so.csdn.net/default.htm" target="_blank">搜索</a> <a
				id="topnav_btnmove" href="javascript:void(0);">更多</a><span
				style="color:#006699; font-size:10px;">▼</span>
		</div>
		<div style="clear: both"></div>
		<br /> <br /> <br /> <br /> <br /> <br />
		<div id="container">
			<div>
				<img
					src="${pageContext.request.contextPath}/images/customer/login01.gif" />
			</div>
			<br />
			<div style="border: 2px solid #FFE2D2;height: 300px;">
				<div style="font-size: 14px;padding: 35px 0px 0px 50px;float: left">
					<form
						action="${pageContext.request.contextPath}/customer/doLogin.do"
						method="post" onsubmit="">
						<input type="hidden" name="method" value="c_login" />
						<table>
							<tr height="20px">
								<td></td>
								<td><span id="s1" style="font-size: 12px;color: red;"></span>
								</td>
							</tr>
							<tr height="45px">
								<td>姓 名：</td>
								<td><input type="text"
									style="color:#999;border:1px solid #CCC;height: 24px;padding-left: 5px;"
									value="报名时您填写的姓名" onfocus="if(value=='报名时您填写的姓名') {value=''}"
									onblur="if (value=='') {value='报名时您填写的姓名'}" name="name"
									size="25">
								</td>
							</tr>
							<tr height="45px">
								<td>手机号：</td>
								<td><input type="text"
									style="color:#999;border:1px solid #CCC;height: 24px;padding-left: 5px;"
									value="报名时您填写的手机号" onfocus="if(value=='报名时您填写的手机号') {value=''}"
									onblur="if (value=='') {value='报名时您填写的手机号'}" name="cellphone"
									size="25">
								</td>
							</tr>
							<tr height="80px">
								<td align="center" colspan="2">
									<div
										style="background:url('${pageContext.request.contextPath}/images/customer/pic_button01.gif') no-repeat left top;width:110px; height:42px; padding-left:10px;">
										<a href="javascript:formSubmit();"
											style="outline:0 none; border:0 none; background:url('${pageContext.request.contextPath}/images/customer/pic_button01.gif') no-repeat right top;width:120px; height:42px;font-size:20px;color:#FFF;font-weight: bold;cursor:hand">提交</a>
									</div>
								</td>
							</tr>

						</table>
					</form>
				</div>
				<div
					style="border: 1px solid #FFE2D2; width: 0px;height: 200px;float: left;margin: 40px 0px 0px 100px;"></div>
				<div style="float: left;padding: 50px 0px 0px 80px;">
					<img
						src="${pageContext.request.contextPath}/images/customer/login02.gif" /><br />
					<br /> <br />
					<div style="padding-left: 60px;">
						<div
							style="background:url('${pageContext.request.contextPath}/images/customer/pic_button03.gif') no-repeat left top;width:110px;height:48px;padding-left:5px;">
							<input type="button" value="立即报名"
								style="outline:0 none;border: 0 none;background:url('${pageContext.request.contextPath}/images/customer/pic_button03.gif') no-repeat right top;width:110px;height:48px;font-size:20px;font-weight: bold;cursor:hand;"
								onclick="location.href='${pageContext.request.contextPath}/customer/reg.do'">
						</div>
					</div>
				</div>
			</div>
		</div>
</body>
</html>
